﻿using Ivory;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Ivory.GUI;
using Ivory.Libs;
using CrystalCore;
using Jitter;
using Jitter.Collision;
using CrystalCore.Libs;
using CrystalCore.Mapping;
using CrystalCore.Structure;

namespace Barva
{
    /// <summary>
    /// Renders a Single Cube, Purpose: Graphics
    /// </summary>
    public class RenderTest01 : TestBase
    {
        //Fields
        public static string Key = "RT01";

        public CellBase Cell;
        
        //Construct
        public RenderTest01(Game game)
            :base(game)
        {

        }
        
        //Methods
        public override void RenderTestScreen(SpriteBatch batch, GameTime time)
        {
            Cell.DrawCell();
        }
        public override void UpdateTestScreen(GameTime time, InputControl input)
        {

        }
        public override void LoadTest()
        {
            Cell = CellFactory.CreateInstance<FireFloorCell>(new MazePosition(0, 0));
        }
    }
}
